import styled from 'styled-components'

// attrs 设置静态属性 优先级优先于props
export const AppWrapper = styled.div.attrs({
  // 设置静态属性
  theme: 'blue'
})`
  font-size: 12px;
  background-color: pink;
  color: red;
  .title {
  }
  .text {
    /* 样式穿通 */
    color: ${(props) => props.theme};
  }
`
